<!-- 文件编号 -->
<template>
  <div id="dialog-container">
    <el-button type="text" @click="dialogVisible = true">文件编号</el-button>
    <el-dialog v-dialogDrag :title="'文件编号编辑'" append-to-body :visible.sync="dialogVisible" width="400px" :close-on-click-modal="false">
      <el-form :model="formData" :inline="true" size="small" label-width="100px">
        <el-row>
          <el-col :span="24">
            <el-form-item label="文件编号：">
              <el-input v-model="formData.type"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
        <el-button @click="dialogVisible = false">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        dialogVisible: false,
        formData: {
          type: '',
          minute: ''
        },
        typeOption: [{
          value: '1',
          label: '委托型',
        }, {
          value: '2',
          label: '生产型',
        }, {
          value: '3',
          label: 'MES系统推送'
        }],
      };
    },
  }

</script>